const {
  DataTypes
} = require('sequelize');

module.exports = sequelize => {
  const attributes = {
    web_name: {
      type: DataTypes.STRING(255),
      allowNull: true,
      defaultValue: null,
      primaryKey: false,
      autoIncrement: false,
      comment: null,
      field: "web_name"
    },
    web_desc: {
      type: DataTypes.STRING(255),
      allowNull: true,
      defaultValue: null,
      primaryKey: false,
      autoIncrement: false,
      comment: null,
      field: "web_desc"
    },
    web_copyright: {
      type: DataTypes.STRING(255),
      allowNull: true,
      defaultValue: null,
      primaryKey: false,
      autoIncrement: false,
      comment: null,
      field: "web_copyright"
    }
  };
  const options = {
    tableName: "config",
    comment: "",
    indexes: []
  };
  const ConfigModel = sequelize.define("config_model", attributes, options);
  return ConfigModel;
};